package cn.youqu.happy.module.youqu.convert.arrangeEdit;

import java.util.*;

import cn.youqu.happy.framework.common.pojo.PageResult;

import cn.youqu.happy.module.youqu.controller.app.arrangeEdit.vo.AppArrangeEditCreateReqVO;
import cn.youqu.happy.module.youqu.controller.app.arrangeEdit.vo.AppArrangeEditPageReqVO;
import cn.youqu.happy.module.youqu.controller.app.arrangeEdit.vo.AppArrangeEditRespVO;
import cn.youqu.happy.module.youqu.controller.app.arrangeEdit.vo.AppArrangeEditUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.youqu.happy.module.youqu.controller.admin.arrangeEdit.vo.*;
import cn.youqu.happy.module.youqu.dal.dataobject.arrangeEdit.ArrangeEditDO;

/**
 * 计划申请修改 Convert
 *
 * @author 王其岩 20112001045
 */
@Mapper
public interface ArrangeEditConvert {

    ArrangeEditConvert INSTANCE = Mappers.getMapper(ArrangeEditConvert.class);

    ArrangeEditDO convert(ArrangeEditCreateReqVO bean);

    ArrangeEditDO convert(ArrangeEditUpdateReqVO bean);

    ArrangeEditRespVO convert(ArrangeEditDO bean);
    AppArrangeEditRespVO convert0(ArrangeEditDO bean);

    List<ArrangeEditRespVO> convertList(List<ArrangeEditDO> list);
    List<AppArrangeEditRespVO> convertList0(List<ArrangeEditDO> list);

    PageResult<ArrangeEditRespVO> convertPage(PageResult<ArrangeEditDO> page);
    PageResult<AppArrangeEditRespVO> convertPage0(PageResult<ArrangeEditDO> page);

    List<ArrangeEditExcelVO> convertList02(List<ArrangeEditDO> list);

    ArrangeEditPageReqVO convert(AppArrangeEditPageReqVO pageVO);

    ArrangeEditDO convert(AppArrangeEditCreateReqVO createReqVO);

    ArrangeEditUpdateReqVO convert(AppArrangeEditUpdateReqVO updateReqVO);
}
